package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.mbc.common.param.CriteriaRMParams;

@SuppressWarnings("serial")
public class AddCode extends CriteriaRMParams implements Serializable {

	private long AddCodeId;
	private String Code;
	private String Sender;
	private long branchId;
	private long userid;

	public long getBranchId() {
		return branchId;
	}

	public void setBranchId(long branchId) {
		this.branchId = branchId;
	}

	private List<AddCodeDetail> addCodeDetailList;

	public List<AddCodeDetail> getAddCodeDetailList() {
		return addCodeDetailList;
	}

	public void setAddCodeDetailList(List<AddCodeDetail> addCodeDetailList) {
		this.addCodeDetailList = addCodeDetailList;
	}

	public AddCode() {
		clearProperties();
	}

	public void clearProperties() {
		AddCodeId = 0;
		Code = "";
		Sender = "";
		branchId = 0;
		addCodeDetailList = new ArrayList<AddCodeDetail>();
		AddCodeDetailId = 0;
		Receiver = "";
		NRC = "";
		Address = "";
		userid = 0;
	}

	public long getAddCodeId() {
		return AddCodeId;
	}

	public void setAddCodeId(long AddCodeId) {
		this.AddCodeId = AddCodeId;
	}

	public String getCode() {
		return Code;
	}

	public void setCode(String Code) {
		this.Code = Code;
	}

	public String getSender() {
		return Sender;
	}

	public void setSender(String Sender) {
		this.Sender = Sender;
	}

	// MBC(1/8/2014)
	private long AddCodeDetailId;
	private String Receiver;
	private String NRC;
	private String Address;

	public String getReceiver() {
		return Receiver;
	}

	public void setReceiver(String receiver) {
		Receiver = receiver;
	}

	public String getNRC() {
		return NRC;
	}

	public void setNRC(String nRC) {
		NRC = nRC;
	}

	public String getAddress() {
		return Address;
	}

	public void setAddress(String address) {
		Address = address;
	}

	public long getAddCodeDetailId() {
		return AddCodeDetailId;
	}

	public void setAddCodeDetailId(long addCodeDetailId) {
		AddCodeDetailId = addCodeDetailId;
	}

	public long getUserid() {
		return userid;
	}

	public void setUserid(long userid) {
		this.userid = userid;
	}

}
